<form class="form-inline" role="form" method="get" action="{:url('user/index')}">
    <div class="form-group">
        <span style="color: red;margin-right: 20px">用户查询</span> 昵称:<input style="width: 120px;" type="text" class="input-text" name="nick" placeholder="请输入昵称" value="{$nick ? $nick : '';}">
        账号:<input style="width: 120px;" type="text" class="input-text" name="user2" placeholder="请输入账号" value="{$user2 ? $user2 : '';}">
        手机号:<input style="width: 120px;" type="text" class="input-text" name="phones" placeholder="请输入手机号" value="{$phones ? $phones : '';}">
        <span class="select-box" style="width: 120px;">
                          <select name="status2"  class="select">
                              <option value="" selected>请选择游客或者正式</option>
                              <option value="{$status2 ? $status2 : '0';}">游客</option>
                              <option value="{$status2 ? $status2 : '1';}">正式</option>
                          </select>
                </span>
    </div>
    <button type="submit" class="btn btn-default">查询</button>
</form>
<div class="mt-20">
    <table style="white-space: nowrap;word-break:keep-all;" class="table table-border table-bordered table-hover table-bg table-sort" id="table">
        <tr class="text-c">
            <th width="50">ID</th>
            <th>昵称</th>
            <th width="70">账号</th>
            <th>上级</th>
            <th>余额</th>
            <th>积分</th>
            <th>手机</th>
            <th width="">加入时间</th>
            <th>上次登录ip</th>
            <th>是否游客</th>
            <th>是否锁定</th>
            <th>操作</th>
        </tr>
        {volist name="useryh" id="vo"}
        <tr class="text-c">
            <td>{$vo.id}</td>
            <td>{$vo.nickname}</td>
            <td>{$vo.username}</td>
            <td>{$vo.nick}</td>
            <td>{$vo.coin}</td>
            <td>{$vo.vip_exp}</td>
            <td>{$vo.phone}</td>
            <td>{$vo.create_time}</td>
            <td>{$vo.active_ip}</td>
            <td>{if condition="$vo.status==0"}游客{else /}正式{/if}</td>
            <td>{if condition="$vo.lock==0"}未锁定{else /}锁定{/if}</td>
            <td class="td-manage">
                <a href="javascript:;" onClick="member_edit('编辑','/admin.php/admin/user_yh/editUser?id={$vo.id}','4','','510')" class="ml-5" style="text-decoration:none">编辑</a>
                <a href="javascript:;" onClick="member_re('充值','/admin.php/admin/user_yh/chongzhi?id={$vo.id}','4','','200')" class="ml-5" style="text-decoration:none">充值</a>
                <a href="javascript:;" onClick="member_re('邮件','/admin.php/admin/user_yh/displayMail?id={$vo.id}','4','','500')" class="ml-5" style="text-decoration:none">邮件</a>
                <a style="text-decoration:none" class="ml-5" onClick="change_password('修改密码','/admin.php/admin/user_yh/user_change_password?id={$vo.id}','10001','600','270')" href="javascript:;" title="修改密码">改密</a>
                <a style="text-decoration:none" class="ml-5" onClick="zhuanYi('转移','/admin.php/admin/user_yh/changepassword?id={$vo.id}','10001','600','270')" href="javascript:;" title="转移">转移</a>
                <a href="javascript:;" onclick="member_del({$vo.id})" class="ml-5" style="text-decoration:none">删除</a></td>
        </tr>
        {/volist}
    </table>
</div>
<div style="float: right;">{$userpage}</div>